﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace SL8.SL.Controls
{
    public class ToolBarButton : Button
    {
        public static readonly DependencyProperty IconSourceProperty = DependencyProperty.Register("IconSource", typeof(ImageSource), typeof(ToolBarButton), null);

        public ImageSource IconSource
        {
            get
            {
                return (ImageSource)base.GetValue(ToolBarButton.IconSourceProperty);
            }
            set
            {
                base.SetValue(ToolBarButton.IconSourceProperty, value);
            }
        }

        public ToolBarButton()
        {
            this.DefaultStyleKey = typeof(ToolBarButton);
        }
    }
}
